ngl: Fix a rare assertion violation
authorMatthias Clasen <mclasen@redhat.com>
Tue, 13 Apr 2021 02:51:01 +0000 (22:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 13 Apr 2021 02:53:48 +0000 (22:53 -0400)
commitc66b030427e6540ebf324e0925e5c3e655c518c9
tree996060b57482050c6a7892222effb01b4f76502d
parent442f485591b65185538ab941b58743cadd1d2092
ngl: Fix a rare assertion violation

When we clean up the uniform allocations after a frame,
it can happen that our space requirements actually increase,
due to padding that depends on the order of allocations.

Instead of asserting that it doesn't happen, just make
it work by growing our allocation.

Fixes: #3853
gsk/ngl/gskngluniformstate.c